//
//  XLGDownloadManager+ClearSameDownloadIndex.h
//  etionCBLogic
//
//  Created by wu jingxing on 13-9-3.
//  Copyright (c) 2013年 GuangZhouXuanWu. All rights reserved.
//

#import "XLGDownloadManager.h"

@interface XLGDownloadManager (ClearSameDownloadIndex)

- (void)clearExistSameDownloadItemWithURLs:(NSArray *)arURL asyncCompletion:(void(^)(NSArray *arResult))completion;

- (void)clearExistSameDownloadItemWithExtendIDs:(NSArray *)arExtendids asyncCompletion:(void(^)(NSArray *arResult))completion;

- (void)clearExistSameFinishedFileWithExtendIDs:(NSArray *)arGUID asyncCompletion:(void(^)(NSArray* guid))completion;

- (void)clearExistSameFinishedFileWithURLs:(NSArray *)arURL asyncCompletion:(void(^)(NSArray* URL))completion;

//返回存在的URL
- (NSArray*)checkExistSameDownloadTaskWithURLs:(NSArray *)arURL;

//返回存在的URL
- (NSArray*)checkExistSameFinishedFileWithFileName:(NSArray *)arFilename;

@end
